package com.wans.guli.ware.feign;

import com.wans.guli.common.utils.R;
import com.wans.guli.ware.feign.vo.ProductSkuInfoRestVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient(value = "guli-product", path = "/guli-product")
@ResponseBody
public interface ProductFeignClient {

    @PostMapping("/product/skuinfo/listStock")
    R getSkuInfo(@RequestBody List<ProductSkuInfoRestVO> productSkuInfoRestVOList);
}
